package com.jml.spring.IOC.XML方式;

import com.jml.spring.IOC.XML方式.service.UserService;


public class Main {

	public static void main(String[] args) throws Exception {
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring.xml");
		UserService userService = (UserService) applicationContext.getBean("userServiceImpl");
//		userService.add();
		userService.add7();
	}
}
